/*
 * @Author: your name
 * @Date: 2020-04-10 17:00:18
 * @LastEditTime: 2021-10-19 11:27:38
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /gatt/src/modules/front/data/mock/Home/index.js
 */
import Mock from 'mockjs'
// 拓展mockjs
Mock.Random.extend({
  randomColor: function () {
  // 自定义十种随机色
    const colorList = ['173,25,177', '2,129,31', '89,97,233', '46,176,219', '204,126,70', '78,150,246', '230,136,138', '79,135,156', '115,190,146', '192,196,204']
    const colorIndex = Math.floor(Math.random() * colorList.length)
    const color = colorList[colorIndex]
    colorList.splice(colorIndex, 1)
    return color
  }
})

// 左边公司树形 列表
const data = {
  code: 200,
  message: '处理成功',
  data: [{
    offset: 0.4,
    timeMode: 3,
    startTime: 1577808000000,
    endTime: 1598803200000,
    headData: {
      name: {
        value: '名称',
        width: '250',
        shrink: true,
        showToast: true,
        hideHead: false
      },
      area: {
        value: '面积',
        width: '100',
        shrink: false,
        showToast: true,
        hideHead: false
      },
      per: {
        value: '预约率',
        width: '180',
        shrink: false,
        showToast: true,
        hideHead: true
      },
      startTime: {
        value: '开始时间',
        width: '100',
        shrink: false,
        showToast: true,
        hideHead: false
      },
      endTime: {
        value: '结束时间',
        width: '100',
        shrink: false,
        showToast: true,
        hideHead: false
      }
    },
    ganttData: [{
      id: '5266261',
      level: 1,
      open: true,
      children: [{
        id: '5315466',
        level: 2,
        open: false,
        children: [],
        startTime: null,
        endTime: null,
        params: {
          name: '测试办公楼B',
          area: 1000.0,
          per: '0%',
          startTime: '',
          endTime: '',
          showChild: true,
          children: []
        },
        perBgColor: '#BE2E55',
        bgcColor: '#BE2E55'
      }, {
        id: '5315465',
        level: 2,
        open: false,
        children: [{
          id: '5315469',
          level: 3,
          open: false,
          children: [{
            id: '5307677',
            params: {
              name: '测试园区/测试办公楼A/测试办公楼楼层A2/测试办公楼单元A202',
              area: 500.0,
              per: '140%',
              startTime: '2020-1-01',
              endTime: '2020-8-31',
              showChild: true,
              children: [{
                name: '测试园区/测试办公楼A/测试办公楼楼层A2/测试办公楼单元A202',
                area: 500.0,
                per: '60%',
                startTime: '2020-01-01',
                endTime: '2020-01-31',
                showChild: true,
                children: [],
                perBgColor: '#3EB88D',
                bgcColor: '#3EB88D'
              }, {
                name: '测试园区/测试办公楼A/测试办公楼楼层A2/测试办公楼单元A202',
                area: 500.0,
                per: '40%',
                startTime: '2020-07-01',
                endTime: '2020-07-31',
                showChild: true,
                children: [],
                perBgColor: '#4299F3',
                bgcColor: '#4299F3'
              }, {
                name: '测试园区/测试办公楼A/测试办公楼楼层A2/测试办公楼单元A202',
                area: 500.0,
                per: '40%',
                startTime: '2020-08-01',
                endTime: '2020-08-31',
                showChild: true,
                children: [],
                perBgColor: '#4299F3',
                bgcColor: '#4299F3'
              }]
            },
            startTime: 1577808000000,
            endTime: 1598803200000,
            perBgColor: '#13587E',
            bgcColor: '#13587E',
            level: 4,
            open: false,
            children: []
          }, {
            id: '5307675',
            params: {
              name: '测试园区/测试办公楼A/测试办公楼楼层A2/测试办公楼单元A201',
              area: 500.0,
              per: '80%',
              startTime: '2020-7-01',
              endTime: '2020-8-31',
              showChild: true,
              children: [{
                name: '测试园区/测试办公楼A/测试办公楼楼层A2/测试办公楼单元A201',
                area: 500.0,
                per: '40%',
                startTime: '2020-07-01',
                endTime: '2020-07-31',
                showChild: true,
                children: [],
                perBgColor: '#4299F3',
                bgcColor: '#4299F3'
              }, {
                name: '测试园区/测试办公楼A/测试办公楼楼层A2/测试办公楼单元A201',
                area: 500.0,
                per: '40%',
                startTime: '2020-08-01',
                endTime: '2020-08-31',
                showChild: true,
                children: [],
                perBgColor: '#4299F3',
                bgcColor: '#4299F3'
              }]
            },
            startTime: 1593532800000,
            endTime: 1598803200000,
            perBgColor: '#13587E',
            bgcColor: '#13587E',
            level: 4,
            open: false,
            children: []
          }],
          startTime: 1577808000000,
          endTime: 1598803200000,
          params: {
            name: '测试办公楼楼层A2',
            area: 1000.0,
            per: '110%',
            startTime: '2020-1-01',
            endTime: '2020-8-31',
            showChild: true,
            children: [{
              name: '测试办公楼楼层A2',
              area: 1000.0,
              per: '30%',
              startTime: '2020-01-01',
              endTime: '2020-01-31',
              showChild: true,
              children: [],
              perBgColor: '#4299F3',
              bgcColor: '#4299F3'
            }, {
              name: '测试办公楼楼层A2',
              area: 1000.0,
              per: '40%',
              startTime: '2020-07-01',
              endTime: '2020-07-31',
              showChild: true,
              children: [],
              perBgColor: '#4299F3',
              bgcColor: '#4299F3'
            }, {
              name: '测试办公楼楼层A2',
              area: 1000.0,
              per: '40%',
              startTime: '2020-08-01',
              endTime: '2020-08-31',
              showChild: true,
              children: [],
              perBgColor: '#4299F3',
              bgcColor: '#4299F3'
            }]
          },
          perBgColor: '#13587E',
          bgcColor: '#13587E'
        }, {
          id: '5315468',
          level: 3,
          open: false,
          children: [{
            id: '5315673',
            params: {
              name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A102',
              area: 500.0,
              per: '280%',
              startTime: '2020-4-01',
              endTime: '2020-8-31',
              showChild: true,
              children: [{
                name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A102',
                area: 500.0,
                per: '40%',
                startTime: '2020-04-01',
                endTime: '2020-04-30',
                showChild: true,
                children: [],
                perBgColor: '#4299F3',
                bgcColor: '#4299F3'
              }, {
                name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A102',
                area: 500.0,
                per: '40%',
                startTime: '2020-05-01',
                endTime: '2020-05-31',
                showChild: true,
                children: [],
                perBgColor: '#4299F3',
                bgcColor: '#4299F3'
              }, {
                name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A102',
                area: 500.0,
                per: '100%',
                startTime: '2020-07-01',
                endTime: '2020-07-31',
                showChild: true,
                children: [],
                perBgColor: '#13587E',
                bgcColor: '#13587E'
              }, {
                name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A102',
                area: 500.0,
                per: '100%',
                startTime: '2020-08-01',
                endTime: '2020-08-31',
                showChild: true,
                children: [],
                perBgColor: '#13587E',
                bgcColor: '#13587E'
              }]
            },
            startTime: 1585670400000,
            endTime: 1598803200000,
            perBgColor: '#13587E',
            bgcColor: '#13587E',
            level: 4,
            open: false,
            children: []
          }, {
            id: '5315671',
            params: {
              name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A101',
              area: 500.0,
              per: '480%',
              startTime: '2020-1-01',
              endTime: '2020-8-31',
              showChild: true,
              children: [{
                name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A101',
                area: 500.0,
                per: '80%',
                startTime: '2020-01-01',
                endTime: '2020-01-31',
                showChild: true,
                children: [],
                perBgColor: '#13587E',
                bgcColor: '#13587E'
              }, {
                name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A101',
                area: 500.0,
                per: '40%',
                startTime: '2020-02-01',
                endTime: '2020-02-29',
                showChild: true,
                children: [],
                perBgColor: '#4299F3',
                bgcColor: '#4299F3'
              }, {
                name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A101',
                area: 500.0,
                per: '80%',
                startTime: '2020-04-01',
                endTime: '2020-04-30',
                showChild: true,
                children: [],
                perBgColor: '#13587E',
                bgcColor: '#13587E'
              }, {
                name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A101',
                area: 500.0,
                per: '80%',
                startTime: '2020-05-01',
                endTime: '2020-05-31',
                showChild: true,
                children: [],
                perBgColor: '#13587E',
                bgcColor: '#13587E'
              }, {
                name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A101',
                area: 500.0,
                per: '100%',
                startTime: '2020-07-01',
                endTime: '2020-07-31',
                showChild: true,
                children: [],
                perBgColor: '#13587E',
                bgcColor: '#13587E'
              }, {
                name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A101',
                area: 500.0,
                per: '100%',
                startTime: '2020-08-01',
                endTime: '2020-08-31',
                showChild: true,
                children: [],
                perBgColor: '#13587E',
                bgcColor: '#13587E'
              }]
            },
            startTime: 1577808000000,
            endTime: 1598803200000,
            perBgColor: '#13587E',
            bgcColor: '#13587E',
            level: 4,
            open: false,
            children: []
          }],
          startTime: 1577808000000,
          endTime: 1598803200000,
          params: {
            name: '测试办公楼楼层A1',
            area: 1000.0,
            per: '380%',
            startTime: '2020-1-01',
            endTime: '2020-8-31',
            showChild: true,
            children: [{
              name: '测试办公楼楼层A1',
              area: 1000.0,
              per: '40%',
              startTime: '2020-01-01',
              endTime: '2020-01-31',
              showChild: true,
              children: [],
              perBgColor: '#4299F3',
              bgcColor: '#4299F3'
            }, {
              name: '测试办公楼楼层A1',
              area: 1000.0,
              per: '20%',
              startTime: '2020-02-01',
              endTime: '2020-02-29',
              showChild: true,
              children: [],
              perBgColor: '#BE2E55',
              bgcColor: '#BE2E55'
            }, {
              name: '测试办公楼楼层A1',
              area: 1000.0,
              per: '60%',
              startTime: '2020-04-01',
              endTime: '2020-04-30',
              showChild: true,
              children: [],
              perBgColor: '#3EB88D',
              bgcColor: '#3EB88D'
            }, {
              name: '测试办公楼楼层A1',
              area: 1000.0,
              per: '60%',
              startTime: '2020-05-01',
              endTime: '2020-05-31',
              showChild: true,
              children: [],
              perBgColor: '#3EB88D',
              bgcColor: '#3EB88D'
            }, {
              name: '测试办公楼楼层A1',
              area: 1000.0,
              per: '100%',
              startTime: '2020-07-01',
              endTime: '2020-07-31',
              showChild: true,
              children: [],
              perBgColor: '#13587E',
              bgcColor: '#13587E'
            }, {
              name: '测试办公楼楼层A1',
              area: 1000.0,
              per: '100%',
              startTime: '2020-08-01',
              endTime: '2020-08-31',
              showChild: true,
              children: [],
              perBgColor: '#13587E',
              bgcColor: '#13587E'
            }]
          },
          perBgColor: '#13587E',
          bgcColor: '#13587E'
        }],
        startTime: 1577808000000,
        endTime: 1598803200000,
        params: {
          name: '测试办公楼A',
          area: 2000.0,
          per: '245%',
          startTime: '2020-1-01',
          endTime: '2020-8-31',
          showChild: true,
          children: [{
            name: '测试办公楼A',
            area: 2000.0,
            per: '35%',
            startTime: '2020-01-01',
            endTime: '2020-01-31',
            showChild: true,
            children: [],
            perBgColor: '#4299F3',
            bgcColor: '#4299F3'
          }, {
            name: '测试办公楼A',
            area: 2000.0,
            per: '10%',
            startTime: '2020-02-01',
            endTime: '2020-02-29',
            showChild: true,
            children: [],
            perBgColor: '#BE2E55',
            bgcColor: '#BE2E55'
          }, {
            name: '测试办公楼A',
            area: 2000.0,
            per: '30%',
            startTime: '2020-04-01',
            endTime: '2020-04-30',
            showChild: true,
            children: [],
            perBgColor: '#4299F3',
            bgcColor: '#4299F3'
          }, {
            name: '测试办公楼A',
            area: 2000.0,
            per: '30%',
            startTime: '2020-05-01',
            endTime: '2020-05-31',
            showChild: true,
            children: [],
            perBgColor: '#4299F3',
            bgcColor: '#4299F3'
          }, {
            name: '测试办公楼A',
            area: 2000.0,
            per: '70%',
            startTime: '2020-07-01',
            endTime: '2020-07-31',
            showChild: true,
            children: [],
            perBgColor: '#3EB88D',
            bgcColor: '#3EB88D'
          }, {
            name: '测试办公楼A',
            area: 2000.0,
            per: '70%',
            startTime: '2020-08-01',
            endTime: '2020-08-31',
            showChild: true,
            children: [],
            perBgColor: '#3EB88D',
            bgcColor: '#3EB88D'
          }]
        },
        perBgColor: '#13587E',
        bgcColor: '#13587E'
      }, {
        id: '5308158',
        level: 2,
        open: false,
        children: [{
          id: '5308304',
          level: 3,
          open: false,
          children: [{
            id: '5316395',
            level: 4,
            open: false,
            children: [],
            startTime: null,
            endTime: null,
            params: {
              name: '测试仓库单元A201',
              area: 500.0,
              per: '0%',
              startTime: '',
              endTime: '',
              showChild: true,
              children: []
            },
            perBgColor: '#BE2E55',
            bgcColor: '#BE2E55'
          }, {
            id: '5308307',
            level: 4,
            open: false,
            children: [],
            startTime: 1577808000000,
            endTime: 1580400000000,
            params: {
              name: '测试仓库单元A202',
              area: 500.0,
              per: '100%',
              startTime: '2020-1-01',
              endTime: '2020-1-31',
              showChild: true,
              children: [{
                name: '测试仓库单元A202',
                area: 500.0,
                per: '100%',
                startTime: '2020-01-01',
                endTime: '2020-01-31',
                showChild: true,
                children: [],
                perBgColor: '#13587E',
                bgcColor: '#13587E'
              }]
            },
            perBgColor: '#13587E',
            bgcColor: '#13587E'
          }],
          startTime: 1577808000000,
          endTime: 1580400000000,
          params: {
            name: '测试仓库楼层A2',
            area: 1000.0,
            per: '50%',
            startTime: '2020-1-01',
            endTime: '2020-1-31',
            showChild: true,
            children: [{
              name: '测试仓库楼层A2',
              area: 1000.0,
              per: '50%',
              startTime: '2020-01-01',
              endTime: '2020-01-31',
              showChild: true,
              children: [],
              perBgColor: '#4299F3',
              bgcColor: '#4299F3'
            }]
          },
          perBgColor: '#4299F3',
          bgcColor: '#4299F3'
        }, {
          id: '5313774',
          level: 3,
          open: false,
          children: [{
            id: '5308305',
            level: 4,
            open: false,
            children: [],
            startTime: 1577808000000,
            endTime: 1580400000000,
            params: {
              name: '测试仓库单元A102',
              area: 500.0,
              per: '40%',
              startTime: '2020-1-01',
              endTime: '2020-1-31',
              showChild: true,
              children: [{
                name: '测试仓库单元A102',
                area: 500.0,
                per: '40%',
                startTime: '2020-01-01',
                endTime: '2020-01-31',
                showChild: true,
                children: [],
                perBgColor: '#4299F3',
                bgcColor: '#4299F3'
              }]
            },
            perBgColor: '#4299F3',
            bgcColor: '#4299F3'
          }, {
            id: '5316394',
            level: 4,
            open: false,
            children: [],
            startTime: 1577808000000,
            endTime: 1580400000000,
            params: {
              name: '测试仓库单元A101',
              area: 500.0,
              per: '80%',
              startTime: '2020-1-01',
              endTime: '2020-1-31',
              showChild: true,
              children: [{
                name: '测试仓库单元A101',
                area: 500.0,
                per: '80%',
                startTime: '2020-01-01',
                endTime: '2020-01-31',
                showChild: true,
                children: [],
                perBgColor: '#13587E',
                bgcColor: '#13587E'
              }]
            },
            perBgColor: '#13587E',
            bgcColor: '#13587E'
          }],
          startTime: 1577808000000,
          endTime: 1580400000000,
          params: {
            name: '测试仓库楼层A1',
            area: 1000.0,
            per: '60%',
            startTime: '2020-1-01',
            endTime: '2020-1-31',
            showChild: true,
            children: [{
              name: '测试仓库楼层A1',
              area: 1000.0,
              per: '60%',
              startTime: '2020-01-01',
              endTime: '2020-01-31',
              showChild: true,
              children: [],
              perBgColor: '#3EB88D',
              bgcColor: '#3EB88D'
            }]
          },
          perBgColor: '#3EB88D',
          bgcColor: '#3EB88D'
        }],
        startTime: 1577808000000,
        endTime: 1580400000000,
        params: {
          name: '测试仓库A',
          area: 2000.0,
          per: '55%',
          startTime: '2020-1-01',
          endTime: '2020-1-31',
          showChild: true,
          children: [{
            name: '测试仓库A',
            area: 2000.0,
            per: '55%',
            startTime: '2020-01-01',
            endTime: '2020-01-31',
            showChild: true,
            children: [],
            perBgColor: '#3EB88D',
            bgcColor: '#3EB88D'
          }]
        },
        perBgColor: '#3EB88D',
        bgcColor: '#3EB88D'
      }, {
        id: '5308155',
        level: 2,
        open: false,
        children: [],
        startTime: null,
        endTime: null,
        params: {
          name: '测试仓库B',
          area: 1000.0,
          per: '0%',
          startTime: '',
          endTime: '',
          showChild: true,
          children: []
        },
        perBgColor: '#BE2E55',
        bgcColor: '#BE2E55'
      }, {
        id: '5316099',
        level: 2,
        open: false,
        children: [],
        params: {
          name: '测试停车场B',
          area: 100.0,
          per: '0%',
          startTime: '',
          endTime: '',
          showChild: true,
          children: []
        },
        startTime: null,
        endTime: null,
        perBgColor: '#BE2E55',
        bgcColor: '#BE2E55'
      }, {
        id: '5316097',
        level: 2,
        open: false,
        children: [{
          id: '5316100',
          level: 3,
          open: false,
          children: [],
          params: {
            name: '测试停车场楼层A2',
            area: 50.0,
            per: '0%',
            startTime: '',
            endTime: '',
            showChild: true,
            children: []
          },
          startTime: null,
          endTime: null,
          perBgColor: '#BE2E55',
          bgcColor: '#BE2E55'
        }, {
          id: '5313744',
          level: 3,
          open: false,
          children: [{
            id: '5313747',
            level: 4,
            open: false,
            children: [],
            params: {
              name: '测试停车场区域A-b',
              area: 20.0,
              per: '0%',
              startTime: '',
              endTime: '',
              showChild: true,
              children: []
            },
            startTime: null,
            endTime: null,
            perBgColor: '#BE2E55',
            bgcColor: '#BE2E55'
          }, {
            id: '5308153',
            level: 4,
            open: false,
            children: [{
              params: {
                name: '测试园区/测试停车场A/测试停车场楼层A1/测试停车场区域A-a/测试停车位A1-a02',
                area: 10.0,
                per: '300%',
                startTime: '2020-1-01',
                endTime: '2020-8-31',
                showChild: true,
                children: [{
                  name: '测试园区/测试停车场A/测试停车场楼层A1/测试停车场区域A-a/测试停车位A1-a02',
                  area: 10.0,
                  per: '100%',
                  startTime: '2020-01-01',
                  endTime: '2020-01-31',
                  showChild: true,
                  children: [],
                  perBgColor: '#13587E',
                  bgcColor: '#13587E'
                }, {
                  name: '测试园区/测试停车场A/测试停车场楼层A1/测试停车场区域A-a/测试停车位A1-a02',
                  area: 10.0,
                  per: '100%',
                  startTime: '2020-07-01',
                  endTime: '2020-07-31',
                  showChild: true,
                  children: [],
                  perBgColor: '#13587E',
                  bgcColor: '#13587E'
                }, {
                  name: '测试园区/测试停车场A/测试停车场楼层A1/测试停车场区域A-a/测试停车位A1-a02',
                  area: 10.0,
                  per: '100%',
                  startTime: '2020-08-01',
                  endTime: '2020-08-31',
                  showChild: true,
                  children: [],
                  perBgColor: '#13587E',
                  bgcColor: '#13587E'
                }]
              },
              startTime: 1577808000000,
              endTime: 1598803200000,
              level: 5,
              open: false,
              perBgColor: '#13587E',
              bgcColor: '#13587E',
              children: []
            }, {
              params: {
                name: '测试园区/测试停车场A/测试停车场楼层A1/测试停车场区域A-a/测试停车位A1-a01',
                area: 10.0,
                per: '300%',
                startTime: '2020-1-01',
                endTime: '2020-8-31',
                showChild: true,
                children: [{
                  name: '测试园区/测试停车场A/测试停车场楼层A1/测试停车场区域A-a/测试停车位A1-a01',
                  area: 10.0,
                  per: '100%',
                  startTime: '2020-01-01',
                  endTime: '2020-01-31',
                  showChild: true,
                  children: [],
                  perBgColor: '#13587E',
                  bgcColor: '#13587E'
                }, {
                  name: '测试园区/测试停车场A/测试停车场楼层A1/测试停车场区域A-a/测试停车位A1-a01',
                  area: 10.0,
                  per: '100%',
                  startTime: '2020-07-01',
                  endTime: '2020-07-31',
                  showChild: true,
                  children: [],
                  perBgColor: '#13587E',
                  bgcColor: '#13587E'
                }, {
                  name: '测试园区/测试停车场A/测试停车场楼层A1/测试停车场区域A-a/测试停车位A1-a01',
                  area: 10.0,
                  per: '100%',
                  startTime: '2020-08-01',
                  endTime: '2020-08-31',
                  showChild: true,
                  children: [],
                  perBgColor: '#13587E',
                  bgcColor: '#13587E'
                }]
              },
              startTime: 1577808000000,
              endTime: 1598803200000,
              level: 5,
              open: false,
              perBgColor: '#13587E',
              bgcColor: '#13587E',
              children: []
            }],
            params: {
              name: '测试停车场区域A-a',
              area: 30.0,
              per: '200%',
              startTime: '2020-1-01',
              endTime: '2020-8-31',
              showChild: true,
              children: []
            },
            startTime: 1577808000000,
            endTime: 1598803200000,
            perBgColor: '#13587E',
            bgcColor: '#13587E'
          }],
          params: {
            name: '测试停车场楼层A1',
            area: 50.0,
            per: '120%',
            startTime: '2020-1-01',
            endTime: '2020-8-31',
            showChild: true,
            children: [{
              name: '测试停车场楼层A1',
              area: 50.0,
              per: '40%',
              startTime: '2020-01-01',
              endTime: '2020-01-31',
              showChild: true,
              children: [],
              perBgColor: '#4299F3',
              bgcColor: '#4299F3'
            }, {
              name: '测试停车场楼层A1',
              area: 50.0,
              per: '40%',
              startTime: '2020-07-01',
              endTime: '2020-07-31',
              showChild: true,
              children: [],
              perBgColor: '#4299F3',
              bgcColor: '#4299F3'
            }, {
              name: '测试停车场楼层A1',
              area: 50.0,
              per: '40%',
              startTime: '2020-08-01',
              endTime: '2020-08-31',
              showChild: true,
              children: [],
              perBgColor: '#4299F3',
              bgcColor: '#4299F3'
            }]
          },
          startTime: 1577808000000,
          endTime: 1598803200000,
          perBgColor: '#13587E',
          bgcColor: '#13587E'
        }],
        params: {
          name: '测试停车场A',
          area: 100.0,
          per: '60%',
          startTime: '2020-1-01',
          endTime: '2020-8-31',
          showChild: true,
          children: [{
            name: '测试停车场A',
            area: 100.0,
            per: '20%',
            startTime: '2020-01-01',
            endTime: '2020-01-31',
            showChild: true,
            children: [],
            perBgColor: '#BE2E55',
            bgcColor: '#BE2E55'
          }, {
            name: '测试停车场A',
            area: 100.0,
            per: '20%',
            startTime: '2020-07-01',
            endTime: '2020-07-31',
            showChild: true,
            children: [],
            perBgColor: '#BE2E55',
            bgcColor: '#BE2E55'
          }, {
            name: '测试停车场A',
            area: 100.0,
            per: '20%',
            startTime: '2020-08-01',
            endTime: '2020-08-31',
            showChild: true,
            children: [],
            perBgColor: '#BE2E55',
            bgcColor: '#BE2E55'
          }]
        },
        startTime: 1577808000000,
        endTime: 1598803200000,
        perBgColor: '#3EB88D',
        bgcColor: '#3EB88D'
      }, {
        id: '5313750',
        level: 2,
        open: '',
        children: [],
        params: {
          name: '测试屋顶A',
          area: 2000.0,
          per: '100%',
          startTime: '2020-1-01',
          endTime: '2020-2-29',
          showChild: true,
          children: [{
            name: '测试屋顶A',
            area: 2000.0,
            per: '50%',
            startTime: '2020-01-01',
            endTime: '2020-01-31',
            showChild: true,
            children: [],
            perBgColor: '#4299F3',
            bgcColor: '#4299F3'
          }, {
            name: '测试屋顶A',
            area: 2000.0,
            per: '50%',
            startTime: '2020-02-01',
            endTime: '2020-02-29',
            showChild: true,
            children: [],
            perBgColor: '#4299F3',
            bgcColor: '#4299F3'
          }]
        },
        startTime: 1577808000000,
        endTime: 1582905600000,
        perBgColor: '#13587E',
        bgcColor: '#13587E'
      }],
      params: {
        name: '测试园区',
        area: 10000.0,
        per: '81%',
        startTime: '2020-1-01',
        endTime: '2020-8-31',
        showChild: true,
        children: [{
          name: '测试园区',
          area: 10000.0,
          per: '28%',
          startTime: '2020-01-01',
          endTime: '2020-01-31',
          showChild: true,
          children: [],
          perBgColor: '#4299F3',
          bgcColor: '#4299F3'
        }, {
          name: '测试园区',
          area: 10000.0,
          per: '12%',
          startTime: '2020-02-01',
          endTime: '2020-02-29',
          showChild: true,
          children: [],
          perBgColor: '#BE2E55',
          bgcColor: '#BE2E55'
        }, {
          name: '测试园区',
          area: 10000.0,
          per: '6%',
          startTime: '2020-04-01',
          endTime: '2020-04-30',
          showChild: true,
          children: [],
          perBgColor: '#BE2E55',
          bgcColor: '#BE2E55'
        }, {
          name: '测试园区',
          area: 10000.0,
          per: '6%',
          startTime: '2020-05-01',
          endTime: '2020-05-31',
          showChild: true,
          children: [],
          perBgColor: '#BE2E55',
          bgcColor: '#BE2E55'
        }, {
          name: '测试园区',
          area: 10000.0,
          per: '14%',
          startTime: '2020-07-01',
          endTime: '2020-07-31',
          showChild: true,
          children: [],
          perBgColor: '#BE2E55',
          bgcColor: '#BE2E55'
        }, {
          name: '测试园区',
          area: 10000.0,
          per: '14%',
          startTime: '2020-08-01',
          endTime: '2020-08-31',
          showChild: true,
          children: [],
          perBgColor: '#BE2E55',
          bgcColor: '#BE2E55'
        }]
      },
      startTime: 1577808000000,
      endTime: 1598803200000,
      perBgColor: '#13587E',
      bgcColor: '#13587E'
    }]
  }, {
    offset: 0.2,
    timeMode: 3,
    startTime: 1577808000000,
    endTime: 1598803200000,
    headData: {
      name: {
        value: '名称',
        width: '250',
        shrink: true,
        showToast: true,
        hideHead: false
      },
      area: {
        value: '面积',
        width: '100',
        shrink: false,
        showToast: true,
        hideHead: false
      },
      per: {
        value: '签约率',
        width: '180',
        shrink: false,
        showToast: true,
        hideHead: true
      },
      startTime: {
        value: '开始时间',
        width: '100',
        shrink: false,
        showToast: true,
        hideHead: false
      },
      endTime: {
        value: '结束时间',
        width: '100',
        shrink: false,
        showToast: true,
        hideHead: false
      }
    },
    ganttData: [{
      id: '5266261',
      level: 1,
      open: false,
      children: [{
        id: '5315466',
        level: 2,
        open: false,
        children: [],
        startTime: null,
        endTime: null,
        params: {
          name: '测试办公楼B',
          area: 1000.0,
          per: '0%',
          startTime: '',
          endTime: '',
          showChild: true,
          children: []
        },
        perBgColor: '#BE2E55',
        bgcColor: '#BE2E55'
      }, {
        id: '5315465',
        level: 2,
        open: false,
        children: [{
          id: '5315469',
          level: 3,
          open: false,
          children: [{
            id: '5307677',
            params: {
              name: '测试园区/测试办公楼A/测试办公楼楼层A2/测试办公楼单元A202',
              area: 500.0,
              per: '60%',
              startTime: '2020-1-01',
              endTime: '2020-8-31',
              showChild: true,
              children: [{
                name: '测试园区/测试办公楼A/测试办公楼楼层A2/测试办公楼单元A202',
                area: 500.0,
                per: '60%',
                startTime: '2020-01-01',
                endTime: '2020-01-31',
                showChild: true,
                children: [],
                perBgColor: '#3EB88D',
                bgcColor: '#3EB88D'
              }]
            },
            startTime: 1577808000000,
            endTime: 1598803200000,
            perBgColor: '#3EB88D',
            bgcColor: '#3EB88D',
            level: 4,
            open: false,
            children: []
          }, {
            id: '5307675',
            params: {
              name: '测试园区/测试办公楼A/测试办公楼楼层A2/测试办公楼单元A201',
              area: 500.0,
              per: '0%',
              startTime: '2020-7-01',
              endTime: '2020-8-31',
              showChild: true,
              children: []
            },
            startTime: 1593532800000,
            endTime: 1598803200000,
            perBgColor: '#BE2E55',
            bgcColor: '#BE2E55',
            level: 4,
            open: false,
            children: []
          }],
          startTime: 1577808000000,
          endTime: 1598803200000,
          params: {
            name: '测试办公楼楼层A2',
            area: 1000.0,
            per: '30%',
            startTime: '2020-1-01',
            endTime: '2020-8-31',
            showChild: true,
            children: [{
              name: '测试办公楼楼层A2',
              area: 1000.0,
              per: '30%',
              startTime: '2020-01-01',
              endTime: '2020-01-31',
              showChild: true,
              children: [],
              perBgColor: '#4299F3',
              bgcColor: '#4299F3'
            }]
          },
          perBgColor: '#4299F3',
          bgcColor: '#4299F3'
        }, {
          id: '5315468',
          level: 3,
          open: false,
          children: [{
            id: '5315673',
            params: {
              name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A102',
              area: 500.0,
              per: '0%',
              startTime: '2020-4-01',
              endTime: '2020-8-31',
              showChild: true,
              children: []
            },
            startTime: 1585670400000,
            endTime: 1598803200000,
            perBgColor: '#BE2E55',
            bgcColor: '#BE2E55',
            level: 4,
            open: false,
            children: []
          }, {
            id: '5315671',
            params: {
              name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A101',
              area: 500.0,
              per: '120%',
              startTime: '2020-1-01',
              endTime: '2020-8-31',
              showChild: true,
              children: [{
                name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A101',
                area: 500.0,
                per: '80%',
                startTime: '2020-01-01',
                endTime: '2020-01-31',
                showChild: true,
                children: [],
                perBgColor: '#13587E',
                bgcColor: '#13587E'
              }, {
                name: '测试园区/测试办公楼A/测试办公楼楼层A1/测试办公楼单元A101',
                area: 500.0,
                per: '40%',
                startTime: '2020-02-01',
                endTime: '2020-02-29',
                showChild: true,
                children: [],
                perBgColor: '#4299F3',
                bgcColor: '#4299F3'
              }]
            },
            startTime: 1577808000000,
            endTime: 1598803200000,
            perBgColor: '#13587E',
            bgcColor: '#13587E',
            level: 4,
            open: false,
            children: []
          }],
          startTime: 1577808000000,
          endTime: 1598803200000,
          params: {
            name: '测试办公楼楼层A1',
            area: 1000.0,
            per: '60%',
            startTime: '2020-1-01',
            endTime: '2020-8-31',
            showChild: true,
            children: [{
              name: '测试办公楼楼层A1',
              area: 1000.0,
              per: '40%',
              startTime: '2020-01-01',
              endTime: '2020-01-31',
              showChild: true,
              children: [],
              perBgColor: '#4299F3',
              bgcColor: '#4299F3'
            }, {
              name: '测试办公楼楼层A1',
              area: 1000.0,
              per: '20%',
              startTime: '2020-02-01',
              endTime: '2020-02-29',
              showChild: true,
              children: [],
              perBgColor: '#BE2E55',
              bgcColor: '#BE2E55'
            }]
          },
          perBgColor: '#3EB88D',
          bgcColor: '#3EB88D'
        }],
        startTime: 1577808000000,
        endTime: 1598803200000,
        params: {
          name: '测试办公楼A',
          area: 2000.0,
          per: '45%',
          startTime: '2020-1-01',
          endTime: '2020-8-31',
          showChild: true,
          children: [{
            name: '测试办公楼A',
            area: 2000.0,
            per: '35%',
            startTime: '2020-01-01',
            endTime: '2020-01-31',
            showChild: true,
            children: [],
            perBgColor: '#4299F3',
            bgcColor: '#4299F3'
          }, {
            name: '测试办公楼A',
            area: 2000.0,
            per: '10%',
            startTime: '2020-02-01',
            endTime: '2020-02-29',
            showChild: true,
            children: [],
            perBgColor: '#BE2E55',
            bgcColor: '#BE2E55'
          }]
        },
        perBgColor: '#4299F3',
        bgcColor: '#4299F3'
      }, {
        id: '5308158',
        level: 2,
        open: false,
        children: [{
          id: '5308304',
          level: 3,
          open: false,
          children: [{
            id: '5316395',
            level: 4,
            open: false,
            children: [],
            startTime: null,
            endTime: null,
            params: {
              name: '测试仓库单元A201',
              area: 500.0,
              per: '0%',
              startTime: '',
              endTime: '',
              showChild: true,
              children: []
            },
            perBgColor: '#BE2E55',
            bgcColor: '#BE2E55'
          }, {
            id: '5308307',
            level: 4,
            open: false,
            children: [],
            startTime: 1577808000000,
            endTime: 1580400000000,
            params: {
              name: '测试仓库单元A202',
              area: 500.0,
              per: '100%',
              startTime: '2020-1-01',
              endTime: '2020-1-31',
              showChild: true,
              children: [{
                name: '测试仓库单元A202',
                area: 500.0,
                per: '100%',
                startTime: '2020-01-01',
                endTime: '2020-01-31',
                showChild: true,
                children: [],
                perBgColor: '#13587E',
                bgcColor: '#13587E'
              }]
            },
            perBgColor: '#13587E',
            bgcColor: '#13587E'
          }],
          startTime: 1577808000000,
          endTime: 1580400000000,
          params: {
            name: '测试仓库楼层A2',
            area: 1000.0,
            per: '50%',
            startTime: '2020-1-01',
            endTime: '2020-1-31',
            showChild: true,
            children: [{
              name: '测试仓库楼层A2',
              area: 1000.0,
              per: '50%',
              startTime: '2020-01-01',
              endTime: '2020-01-31',
              showChild: true,
              children: [],
              perBgColor: '#4299F3',
              bgcColor: '#4299F3'
            }]
          },
          perBgColor: '#4299F3',
          bgcColor: '#4299F3'
        }, {
          id: '5313774',
          level: 3,
          open: false,
          children: [{
            id: '5308305',
            level: 4,
            open: false,
            children: [],
            startTime: 1577808000000,
            endTime: 1580400000000,
            params: {
              name: '测试仓库单元A102',
              area: 500.0,
              per: '40%',
              startTime: '2020-1-01',
              endTime: '2020-1-31',
              showChild: true,
              children: [{
                name: '测试仓库单元A102',
                area: 500.0,
                per: '40%',
                startTime: '2020-01-01',
                endTime: '2020-01-31',
                showChild: true,
                children: [],
                perBgColor: '#4299F3',
                bgcColor: '#4299F3'
              }]
            },
            perBgColor: '#4299F3',
            bgcColor: '#4299F3'
          }, {
            id: '5316394',
            level: 4,
            open: false,
            children: [],
            startTime: 1577808000000,
            endTime: 1580400000000,
            params: {
              name: '测试仓库单元A101',
              area: 500.0,
              per: '80%',
              startTime: '2020-1-01',
              endTime: '2020-1-31',
              showChild: true,
              children: [{
                name: '测试仓库单元A101',
                area: 500.0,
                per: '80%',
                startTime: '2020-01-01',
                endTime: '2020-01-31',
                showChild: true,
                children: [],
                perBgColor: '#13587E',
                bgcColor: '#13587E'
              }]
            },
            perBgColor: '#13587E',
            bgcColor: '#13587E'
          }],
          startTime: 1577808000000,
          endTime: 1580400000000,
          params: {
            name: '测试仓库楼层A1',
            area: 1000.0,
            per: '60%',
            startTime: '2020-1-01',
            endTime: '2020-1-31',
            showChild: true,
            children: [{
              name: '测试仓库楼层A1',
              area: 1000.0,
              per: '60%',
              startTime: '2020-01-01',
              endTime: '2020-01-31',
              showChild: true,
              children: [],
              perBgColor: '#3EB88D',
              bgcColor: '#3EB88D'
            }]
          },
          perBgColor: '#3EB88D',
          bgcColor: '#3EB88D'
        }],
        startTime: 1577808000000,
        endTime: 1580400000000,
        params: {
          name: '测试仓库A',
          area: 2000.0,
          per: '55%',
          startTime: '2020-1-01',
          endTime: '2020-1-31',
          showChild: true,
          children: [{
            name: '测试仓库A',
            area: 2000.0,
            per: '55%',
            startTime: '2020-01-01',
            endTime: '2020-01-31',
            showChild: true,
            children: [],
            perBgColor: '#3EB88D',
            bgcColor: '#3EB88D'
          }]
        },
        perBgColor: '#3EB88D',
        bgcColor: '#3EB88D'
      }, {
        id: '5308155',
        level: 2,
        open: false,
        children: [],
        startTime: null,
        endTime: null,
        params: {
          name: '测试仓库B',
          area: 1000.0,
          per: '0%',
          startTime: '',
          endTime: '',
          showChild: true,
          children: []
        },
        perBgColor: '#BE2E55',
        bgcColor: '#BE2E55'
      }, {
        id: '5316099',
        level: 2,
        open: false,
        children: [],
        params: {
          name: '测试停车场B',
          area: 100.0,
          per: '0%',
          startTime: '',
          endTime: '',
          showChild: true,
          children: []
        },
        startTime: null,
        endTime: null,
        perBgColor: '#BE2E55',
        bgcColor: '#BE2E55'
      }, {
        id: '5316097',
        level: 2,
        open: false,
        children: [{
          id: '5316100',
          level: 3,
          open: false,
          children: [],
          params: {
            name: '测试停车场楼层A2',
            area: 50.0,
            per: '0%',
            startTime: '',
            endTime: '',
            showChild: true,
            children: []
          },
          startTime: null,
          endTime: null,
          perBgColor: '#BE2E55',
          bgcColor: '#BE2E55'
        }, {
          id: '5313744',
          level: 3,
          open: false,
          children: [{
            id: '5313747',
            level: 4,
            open: false,
            children: [],
            params: {
              name: '测试停车场区域A-b',
              area: 20.0,
              per: '0%',
              startTime: '',
              endTime: '',
              showChild: true,
              children: []
            },
            startTime: null,
            endTime: null,
            perBgColor: '#BE2E55',
            bgcColor: '#BE2E55'
          }, {
            id: '5308153',
            level: 4,
            open: false,
            children: [{
              params: {
                name: '测试园区/测试停车场A/测试停车场楼层A1/测试停车场区域A-a/测试停车位A1-a02',
                area: 10.0,
                per: '100%',
                startTime: '2020-1-01',
                endTime: '2020-8-31',
                showChild: true,
                children: [{
                  name: '测试园区/测试停车场A/测试停车场楼层A1/测试停车场区域A-a/测试停车位A1-a02',
                  area: 10.0,
                  per: '100%',
                  startTime: '2020-01-01',
                  endTime: '2020-01-31',
                  showChild: true,
                  children: [],
                  perBgColor: '#13587E',
                  bgcColor: '#13587E'
                }]
              },
              startTime: 1577808000000,
              endTime: 1598803200000,
              level: 5,
              open: false,
              perBgColor: '#13587E',
              bgcColor: '#13587E',
              children: []
            }, {
              params: {
                name: '测试园区/测试停车场A/测试停车场楼层A1/测试停车场区域A-a/测试停车位A1-a01',
                area: 10.0,
                per: '100%',
                startTime: '2020-1-01',
                endTime: '2020-8-31',
                showChild: true,
                children: [{
                  name: '测试园区/测试停车场A/测试停车场楼层A1/测试停车场区域A-a/测试停车位A1-a01',
                  area: 10.0,
                  per: '100%',
                  startTime: '2020-01-01',
                  endTime: '2020-01-31',
                  showChild: true,
                  children: [],
                  perBgColor: '#13587E',
                  bgcColor: '#13587E'
                }]
              },
              startTime: 1577808000000,
              endTime: 1598803200000,
              level: 5,
              open: false,
              perBgColor: '#13587E',
              bgcColor: '#13587E',
              children: []
            }],
            params: {
              name: '测试停车场区域A-a',
              area: 30.0,
              per: '67%',
              startTime: '2020-1-01',
              endTime: '2020-8-31',
              showChild: true,
              children: []
            },
            startTime: 1577808000000,
            endTime: 1598803200000,
            perBgColor: '#3EB88D',
            bgcColor: '#3EB88D'
          }],
          params: {
            name: '测试停车场楼层A1',
            area: 50.0,
            per: '40%',
            startTime: '2020-1-01',
            endTime: '2020-8-31',
            showChild: true,
            children: [{
              name: '测试停车场楼层A1',
              area: 50.0,
              per: '40%',
              startTime: '2020-01-01',
              endTime: '2020-01-31',
              showChild: true,
              children: [],
              perBgColor: '#4299F3',
              bgcColor: '#4299F3'
            }]
          },
          startTime: 1577808000000,
          endTime: 1598803200000,
          perBgColor: '#4299F3',
          bgcColor: '#4299F3'
        }],
        params: {
          name: '测试停车场A',
          area: 100.0,
          per: '20%',
          startTime: '2020-1-01',
          endTime: '2020-8-31',
          showChild: true,
          children: [{
            name: '测试停车场A',
            area: 100.0,
            per: '20%',
            startTime: '2020-01-01',
            endTime: '2020-01-31',
            showChild: true,
            children: [],
            perBgColor: '#BE2E55',
            bgcColor: '#BE2E55'
          }]
        },
        startTime: 1577808000000,
        endTime: 1598803200000,
        perBgColor: '#BE2E55',
        bgcColor: '#BE2E55'
      }, {
        id: '5313750',
        level: 2,
        open: '',
        children: [],
        params: {
          name: '测试屋顶A',
          area: 2000.0,
          per: '200%',
          startTime: '2020-1-01',
          endTime: '2020-2-29',
          showChild: true,
          children: [{
            name: '测试屋顶A',
            area: 2000.0,
            per: '100%',
            startTime: '2020-01-01',
            endTime: '2020-01-31',
            showChild: true,
            children: [],
            perBgColor: '#13587E',
            bgcColor: '#13587E'
          }, {
            name: '测试屋顶A',
            area: 2000.0,
            per: '100%',
            startTime: '2020-02-01',
            endTime: '2020-02-29',
            showChild: true,
            children: [],
            perBgColor: '#13587E',
            bgcColor: '#13587E'
          }]
        },
        startTime: 1577808000000,
        endTime: 1582905600000,
        perBgColor: '#13587E',
        bgcColor: '#13587E'
      }],
      params: {
        name: '测试园区',
        area: 10000.0,
        per: '60%',
        startTime: '2020-1-01',
        endTime: '2020-8-31',
        showChild: true,
        children: [{
          name: '测试园区',
          area: 10000.0,
          per: '38%',
          startTime: '2020-01-01',
          endTime: '2020-01-31',
          showChild: true,
          children: [],
          perBgColor: '#4299F3',
          bgcColor: '#4299F3'
        }, {
          name: '测试园区',
          area: 10000.0,
          per: '22%',
          startTime: '2020-02-01',
          endTime: '2020-02-29',
          showChild: true,
          children: [],
          perBgColor: '#BE2E55',
          bgcColor: '#BE2E55'
        }]
      },
      startTime: 1577808000000,
      endTime: 1598803200000,
      perBgColor: '#3EB88D',
      bgcColor: '#3EB88D'
    }]
  }]
}

Mock.mock(/\/getGatt/, data)
